package com.ditri.distrident.commonservice.service;

import com.ditri.distrident.common.entity.Result;
import org.springframework.stereotype.Service;

/**
 * @author: edxuanlen
 * @date: 2020-08-06 09:39
 * @version: 1.0
 **/

@Service
public interface MailSendingService {

    /**
     * 发送邮箱方法
     * @param recipient 接收者的邮箱账号
     * @return 返回发送状态
     */
    Result sendMailAuthCode(String recipient);


    /**
     * 发送注册验证码
     * @param recipient 接收者邮箱账号
     * @return 返回发送状态
     */
    Result sendRegisterMailAuthCode(String recipient);

}
